package com.smart.manage.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.smart.common.annotation.Excel;
import com.smart.common.core.domain.BaseEntity;

/**
 * 药品信息对象 tb_drugs
 * 
 * @author lingyao
 * @date 2025-03-04
 */
public class Drugs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 药品ID */
    @Excel(name = "药品ID")
    private Long drugId;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String drugName;

    /** 药品单价 */
    @Excel(name = "药品单价")
    private BigDecimal unitPrice;

    /** 功能主治 */
    @Excel(name = "功能主治")
    private String functionIndications;

    /** 药品规格 */
    @Excel(name = "药品规格")
    private String drugSpecification;

    /** 用法用量 */
    @Excel(name = "用法用量")
    private String usageAndDosage;

    /** 注意事项 */
    @Excel(name = "注意事项")
    private String precautions;

    /** 用药禁忌 */
    @Excel(name = "用药禁忌")
    private String contraindications;

    /** 贮藏条件 */
    @Excel(name = "贮藏条件")
    private String storageConditions;

    /** 不良反应 */
    @Excel(name = "不良反应")
    private String adverseReactions;

    /** 生产企业 */
    @Excel(name = "生产企业")
    private String productionEnterprise;

    public void setDrugId(Long drugId) 
    {
        this.drugId = drugId;
    }

    public Long getDrugId() 
    {
        return drugId;
    }
    public void setDrugName(String drugName) 
    {
        this.drugName = drugName;
    }

    public String getDrugName() 
    {
        return drugName;
    }
    public void setUnitPrice(BigDecimal unitPrice) 
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice() 
    {
        return unitPrice;
    }
    public void setFunctionIndications(String functionIndications) 
    {
        this.functionIndications = functionIndications;
    }

    public String getFunctionIndications() 
    {
        return functionIndications;
    }

    public String getDrugSpecification() {
        return drugSpecification;
    }

    public void setDrugSpecification(String drugSpecification) {
        this.drugSpecification = drugSpecification;
    }

    public void setUsageAndDosage(String usageAndDosage)
    {
        this.usageAndDosage = usageAndDosage;
    }

    public String getUsageAndDosage() 
    {
        return usageAndDosage;
    }
    public void setPrecautions(String precautions) 
    {
        this.precautions = precautions;
    }

    public String getPrecautions() 
    {
        return precautions;
    }
    public void setContraindications(String contraindications) 
    {
        this.contraindications = contraindications;
    }

    public String getContraindications() 
    {
        return contraindications;
    }
    public void setStorageConditions(String storageConditions) 
    {
        this.storageConditions = storageConditions;
    }

    public String getStorageConditions() 
    {
        return storageConditions;
    }
    public void setAdverseReactions(String adverseReactions) 
    {
        this.adverseReactions = adverseReactions;
    }

    public String getAdverseReactions() 
    {
        return adverseReactions;
    }
    public void setProductionEnterprise(String productionEnterprise) 
    {
        this.productionEnterprise = productionEnterprise;
    }

    public String getProductionEnterprise() 
    {
        return productionEnterprise;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("drugId", getDrugId())
            .append("drugName", getDrugName())
            .append("unitPrice", getUnitPrice())
            .append("functionIndications", getFunctionIndications())
            .append("drugSpecification", getDrugSpecification())
            .append("usageAndDosage", getUsageAndDosage())
            .append("precautions", getPrecautions())
            .append("contraindications", getContraindications())
            .append("storageConditions", getStorageConditions())
            .append("adverseReactions", getAdverseReactions())
            .append("productionEnterprise", getProductionEnterprise())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
